class Person {
  name: string = ""
  age: number = 0
  eating() {
    console.log('eating');
  }
}

class Student extends Person{
  sno: number = 0
  studying() {
    console.log('studing');
  }
}
const stu = new Student()
console.log(stu.name);
console.log(stu.age);
stu.eating()

class Teacher extends Person{
  title: string = ""
  teaching() {
    console.log('teaching');
  }
}













export {}